package com.hee.erp.constant;

public enum ReturnCode {

    RC200(0,"操作成功"),
    RC401(401,"系统未授权"),
    RC402(401,"请先登录"),
    RC403(401,"请重新登录"),
    RC405(401,"账号已禁用"),
    RC406(406,"参数验证不通过"),
    RC500(500,"系统异常，请稍后重试"),
    RC501(501,"登陆失败，用户名或密码错误");




    private final int code;
    private final String msg;

    ReturnCode(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode(){
        return code;
    }

    public String getMsg(){
        return msg;
    }
}